package com.wy.service;

import java.util.List;

import com.wy.model.User;

public interface UserService {

	//新增
	public int insert(User user);

	//修改
	public int update(User user);

//批量删除
	public int deletebth(String[] ids);

//根据Id查询单条记录
	public User getById(String id);

	//分页查询列表
	public List<User> list(User user);
	
}